package com.alibaba.sdk.model.output;

import com.alibaba.sdk.enums.UserTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 单条用户信息返回结果类
 *
 * @ writer Shawn(Shawn_0217@163.com)
 * @ date & time 2021/4/26 23:36
 * @ company alibaba
 */
@Data
@ApiModel(description = "单条用户信息返回结果类")
public class OneUserResponse implements Serializable {

    /**
     * 用户id,忽略返回
     */
    private Long id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String userName;

    /**
     * 用户类型
     */
    @ApiModelProperty(value = "用户类型")
    private UserTypeEnum userType;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 联系方式
     */
    @ApiModelProperty(value = "联系方式")
    private String phone;

    /**
     * 添加时间
     */
    @ApiModelProperty(value = "添加时间")
    private String addTime;

    private static final long serialVersionUID = -8047897484334173588L;

}
